<ui:composition
		xmlns="http://www.w3.org/1999/xhtml"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:a4j="http://richfaces.org/a4j"
		xmlns:rich="http://richfaces.org/rich"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:itdep="http://itdep.bsuir.by/jsf"
		>

	<h:graphicImage url="/img/Nibbler.png" rendered="#{empty personPhoto}" styleClass="graphicImage"/>
	<a4j:mediaOutput element="img" cacheable="false" styleClass="graphicImage noBorder"
					 value="#{personPhoto.photo}" createContent="#{personPhotoBean.paint}"/>

</ui:composition>